package com.hckjsec.law.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公共法律服务平台单位配置对象 web_law_company
 * 
 * @author cyt
 * @date 2021-11-04
 */
public class WebLawCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 所属小程序 */
    @Excel(name = "所属小程序")
    private Long configId;

    /** 单位类型 01:律师 02:公证 03:司法鉴定 04:基层 05:法援 */
    @Excel(name = "单位类型 01:律师 02:公证 03:司法鉴定 04:基层 05:法援")
    private String companyType;

    /** 单位logo */
    @Excel(name = "单位logo")
    private String companyLogo;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyName;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String companyUscc;

    /** 执业许可证 */
    @Excel(name = "执业许可证")
    private String companyLicence;

    /** 成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date establishTime;

    /** 单位性质 */
    @Excel(name = "单位性质")
    private String companyNature;

    /** 主管机关 */
    @Excel(name = "主管机关")
    private String competentAuthority;

    /** 单位电话 */
    @Excel(name = "单位电话")
    private String companyPhone;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String companyAddress;

    /** 单位邮箱 */
    @Excel(name = "单位邮箱")
    private String companyMailbox;

    /** 单位网址 */
    @Excel(name = "单位网址")
    private String companyWebsite;

    /** 单位经度 */
    @Excel(name = "单位经度")
    private String companyLongitude;

    /** 单位纬度 */
    @Excel(name = "单位纬度")
    private String companyLatitude;

    /** 单位介绍 */
    @Excel(name = "单位介绍")
    private String companyIntroduce;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setConfigId(Long configId)
    {
        this.configId = configId;
    }

    public Long getConfigId()
    {
        return configId;
    }
    public void setCompanyType(String companyType)
    {
        this.companyType = companyType;
    }

    public String getCompanyType()
    {
        return companyType;
    }
    public void setCompanyLogo(String companyLogo)
    {
        this.companyLogo = companyLogo;
    }

    public String getCompanyLogo()
    {
        return companyLogo;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setCompanyUscc(String companyUscc)
    {
        this.companyUscc = companyUscc;
    }

    public String getCompanyUscc()
    {
        return companyUscc;
    }
    public void setCompanyLicence(String companyLicence)
    {
        this.companyLicence = companyLicence;
    }

    public String getCompanyLicence()
    {
        return companyLicence;
    }
    public void setEstablishTime(Date establishTime)
    {
        this.establishTime = establishTime;
    }

    public Date getEstablishTime()
    {
        return establishTime;
    }
    public void setCompanyNature(String companyNature)
    {
        this.companyNature = companyNature;
    }

    public String getCompanyNature()
    {
        return companyNature;
    }
    public void setCompetentAuthority(String competentAuthority)
    {
        this.competentAuthority = competentAuthority;
    }

    public String getCompetentAuthority()
    {
        return competentAuthority;
    }
    public void setCompanyPhone(String companyPhone)
    {
        this.companyPhone = companyPhone;
    }

    public String getCompanyPhone()
    {
        return companyPhone;
    }
    public void setCompanyAddress(String companyAddress)
    {
        this.companyAddress = companyAddress;
    }

    public String getCompanyAddress()
    {
        return companyAddress;
    }
    public void setCompanyMailbox(String companyMailbox)
    {
        this.companyMailbox = companyMailbox;
    }

    public String getCompanyMailbox()
    {
        return companyMailbox;
    }
    public void setCompanyWebsite(String companyWebsite)
    {
        this.companyWebsite = companyWebsite;
    }

    public String getCompanyWebsite()
    {
        return companyWebsite;
    }
    public void setCompanyLongitude(String companyLongitude)
    {
        this.companyLongitude = companyLongitude;
    }

    public String getCompanyLongitude()
    {
        return companyLongitude;
    }
    public void setCompanyLatitude(String companyLatitude)
    {
        this.companyLatitude = companyLatitude;
    }

    public String getCompanyLatitude()
    {
        return companyLatitude;
    }
    public void setCompanyIntroduce(String companyIntroduce)
    {
        this.companyIntroduce = companyIntroduce;
    }

    public String getCompanyIntroduce()
    {
        return companyIntroduce;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("configId", getConfigId())
                .append("companyType", getCompanyType())
                .append("companyLogo", getCompanyLogo())
                .append("companyName", getCompanyName())
                .append("companyUscc", getCompanyUscc())
                .append("companyLicence", getCompanyLicence())
                .append("establishTime", getEstablishTime())
                .append("companyNature", getCompanyNature())
                .append("competentAuthority", getCompetentAuthority())
                .append("companyPhone", getCompanyPhone())
                .append("companyAddress", getCompanyAddress())
                .append("companyMailbox", getCompanyMailbox())
                .append("companyWebsite", getCompanyWebsite())
                .append("companyLongitude", getCompanyLongitude())
                .append("companyLatitude", getCompanyLatitude())
                .append("companyIntroduce", getCompanyIntroduce())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
